x86: x86-common.h: Add CONFIG_BOOTDELAY
authorStefan Roese <[email protected]>
Mon, 18 Jan 2016 13:49:56 +0000 (14:49 +0100)
committerBin Meng <[email protected]>
Fri, 5 Feb 2016 04:47:20 +0000 (12:47 +0800)
Without this CONFIG_BOOTDELAY, autobooting does not work at all. As
autoboot_command() from common/* will not get called. So lets define
CONFIG_BOOTDELAY, so that auto-booting works on x86.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Miao Yan <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Simon Glass <[email protected]>
Tested-by: Miao Yan <[email protected]>
Acked-by: Bin Meng <[email protected]>
include/configs/x86-common.h

index dc7b227d25c41e3061a521a2ad196237a666e362..3ae4366bfae215580b0f4e84fd557a3f0a263916 100644 (file)
        "tftpboot $loadaddr $bootfile;"                 \
        "zboot $loadaddr"
 
+#define CONFIG_BOOTDELAY       2
+
 #endif /* __CONFIG_H */